﻿<vuc:VNetUserControl x:Class="VNet.VisiSuite.Controls.BottomSlidePanel"
                     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                     xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
                     xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                     xmlns:vuc="clr-namespace:VNet.VisiSuite.Controls"
                     mc:Ignorable="d" Height="87" Panel.ZIndex="500" VerticalAlignment="Bottom"
                     Background="Black" BorderBrush="{x:Null}"
                     d:DesignHeight="300" d:DesignWidth="300">

    <UserControl.Resources>
        <!--<ResourceDictionary Source="../Assets/Styles/AppStyles.xaml"/>-->
    </UserControl.Resources>

    <UserControl.RenderTransform>
        <TranslateTransform x:Name="_bottomPanelTranslate" X="0" Y="87" />
    </UserControl.RenderTransform>

    <Border x:Name="_bottomPanel" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
            Background="{Binding Background}" BorderThickness="0,1,0,0">
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition Width="*" />
            </Grid.ColumnDefinitions>
            <Grid x:Name="_userControls" Grid.Column="0" />
            <vuc:MetroIconMenu Grid.Column="1" x:Name="_bottomMenu" Margin="0,0,8,0" VerticalAlignment="Center"
                               HorizontalContentAlignment="Right"
                               HorizontalAlignment="Right" Foreground="White"
                               Background="{Binding Background}"
                               BorderBrush="White" BorderThickness="0" />
        </Grid>
    </Border>
</vuc:VNetUserControl>